#ifndef CUSTOMER_H_
#define CUSTOMER_H_

#include <string>
#include "Street_address.h"
#include <sstream>

using namespace std;

struct Customer {
public:
        //Constructors
        Customer (int id, string n, Street_address a) : cust_id(id), cust_name(n), addr(a) {}

		string display() const			//used to verify whether it has stored the information
		{
			stringstream ss;
			ss << "Customer(" << cust_id << ", " << setw(14) << cust_name << ", " << addr.display() << ")";
			return ss.str();
		}
        
        /* Begin KR - S2 */

        //Getter
        int getID() const
		{
          return cust_id;
		}
		
        string getName() const
		{
          return cust_name;
		}

        Street_address getAddress() const
		{
          return addr;
		}

private: 
        //Private data
        int     cust_id;
        string  cust_name;
        Street_address addr;
};

/* End KR - S2 */

#endif //CUSTOMER_H_
